CC=g++ -o $@ $^ -std=c++11
INCLUDE= -I ../mq_third/include
LIB=-L../mq_third/lib -lgtest -lprotobuf -lsqlite3 -pthread -lmuduo_net -lmuduo_base -lz
mq_server:mq_server.cc ../mq_comm/mq_msg.pb.cc ../mq_comm/mq_proto.pb.cc ../mq_third/include/muduo/proto/codec.cc
	$(CC) -I../mq_third/include $(LIB)

.PHONY:clean
clean:
	rm -rf mq_server